/**
 * Created by Nico on 2016/1/7.
 */


grApp.filter('filterStatus',function(){
    var result = '' ;
    //-1 已删除，0 被禁用，1 正常，2 未审核
    var status = {
        "0":"已禁用",
        "1":"正常",
        "2":"未审核",
        "-1":"已删除"
    };
    return function(item){
        result = status[item+''];
        return result ;
    };
});